home *** CD-ROM | disk | FTP | other *** search
-
- #we want a patch where positive X is ascending time, and have
-
- set grid(width) 8
- set grid(depth) 3
- set text(color) "1 1 1"
- set text(fontName) Helvetica
- set text(size) 18
-
- proc drawGrid {w d f s c} {
-
- Surface paintedplastic texturename grid.tx
- Patch bilinear P "0 0 0 \
- 0 0 $d \
- $w 0 0 \
- $w 0 $d"
- Surface constant
- Color $c
- for {set i 0} {$i <= $w} {incr i} \
- { WW3DText $f $s $i;
- Translate 1 0 0;
- }
- }
-
- loadControlPanel controls.nib
-
- startShape World
- startShape Grid
- animatable: {drawGrid $grid(width) $grid(depth) $text(fontName) $text(size) "$text(color)"}
- endShape
- endShape
-